<%@page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html class="root61">
<head>
	<%@include file="/views/common/include/taglib.jsp"%>
	<%@include file="/views/common/include/head.jsp"%>
	<link type="text/css" rel="stylesheet" href="${ctx }/css/dlifestyle/sectionparent.css" source="widget" />
	<link type="text/css" rel="stylesheet" href="${ctx }/css/dlifestyle/admin.css" source="widget" />
</head>
<body>
	<section class="mainborder">
       <section class="edit_scrollable padder" style="min-height:300px;">
         <div class="edit_content">
			<form id="myFrom" style="min-height:350px;">
				 <div class="form" >
				    <div class="item">
						<label class="col-sm-1 editlable"><em style="color: red;">*</em>菜单名：</label>
				   		<div class="fl">
				   			<input id="btnId" type="hidden" value="${button.id}">
				   			<input id="btnName" type="hidden" value="${button.menuName}">
							<input class="editform-control" id="menuName" value="${button.menuName}" type="text" maxlength="20" class="text" placeholder="请输入菜单名" required>
						</div>
					</div>
					<div class="item">
						<label class="col-sm-1 editlable"><span style="color: red;">*</span>按钮名称：</label>
						<div class="fl">
							<input class="editform-control" id="name" value="${button.name}" type="text" maxlength="7" class="text" placeholder="请输入按钮名称" required>
						</div>
					</div>
					<div class="item" style="min-height:40px;">
	                    <label class="col-sm-1 editlable">值：</label>
	                    <div class="fl">
	                        <input type="text" class="editform-control" value="${button.value}" id="bvalue"  class="form-control" placeholder="请输入值" maxlength="20" required>
	                    </div>
		            </div>
		            <div class="item" style="min-height:40px;">
	                    <label class="col-sm-1 editlable">备注：</label>
	                    <div class="fl">
	                        <input type="text" class="editform-control" value="${button.memo}" id="memo"  class="form-control" placeholder="请输入备注" maxlength="20" required>
	                    </div>
		            </div>
					</div>
				</form>
			</div>
		</section>
	</section>

                 
	<script type="text/javascript">
		document.getElementById("myFrom").reset();
	</script>	
</body>
	<script src="${ctx}/js/controllers/system/button/ButtonEditController.js" type="text/javascript"></script>
	<script type="text/javascript">
		var ctx = '${ctx}';
		setCtx(ctx);
	</script>
	<!-- 解决ie 6 7 8 9不能显示placeholder的问题 -->
	<script src="${ctx}/js/lib/jquery.JPlaceholder.js"></script>
</html>
